endsWith

(alias) pure function endsWith(suffix: text): boolean

Deprecated

Use 'ends_with' instead

Checks if this text ends with the specified suffix.

Note that for all texts t, t.ends_with('') is true, and for all texts u and v such that u == v, u.ends_with(v) is true.

Alias

Alias target

Return

true if this text ends with the specified suffix, false otherwise

Since

0.9.0

Parameters

suffix

the suffix to check